<%@ taglib prefix="s" uri="/struts-tags" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>计算机应用设计大赛-评审页面</title>
<link href="/css/basic.css" rel="stylesheet" type="text/css" />
<link href="/css/editor.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/js/jquery.jeditable.mini.js"></script>
<script type="text/javascript" src="/js/cadc.js"></script>
</head>
<body>
<div id="container">
	<div id="title">
    	<div id="title_left">计算机应用设计大赛评审页面-<span class="notice"><s:property value="workSet.typeName" /></span></div>
        <div id="title_right">感谢您为本次大赛担任评审工作，<span class="notice"><s:property value="account.name" /></span>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/ping/home.html">返回导航页</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/doLogout.action">退出</a></div>
    </div>
    <ul id="tips" class="border">
    	<li>评分系统还不成熟，建议用谷歌浏览器，如有问题，请直接发邮件到xiaoguichao@foxmail.com，以便及时解决；</li>
        <li>界面中白色背景区域是可即时编辑的，直接单击需要更改的项进行编辑，更改后便自动保存；</li>
        <li>请务必勾选上您认为可以进入决赛的和可以文计课加分的小组，初评截止时间<span class="notice">4月22日早上8点。</span></li>
    </ul>
    <div id="works">
    <s:iterator value="workSet.groupList">
    	<div class="work" id="work<s:property value="id" />">
        	<div class="work_header">
            	<div class="header_item bh">编号</div>
                <div class="header_item workName">作品名</div>
                <div class="header_item workSize">作品大小</div>
                <div class="header_item download">下载</div>
                <div class="header_item remark">选手备注</div>
            </div>
            <div class="work_content">
            	<div class="content_item bh notice"><s:property value="account.name" /></div>
                <div class="content_item workName"><s:property value="workName" /></div>
                <div class="content_item workSize"><s:property value="work.size" /></div>
                <div class="content_item download"><a href="/download.action?fileKey=cadc2012&fileId=<s:property value="work.id" />"><img src="/pics/download.gif" /></a></div>
                <div class="content_item remark"><s:property value="remark" /></div>
            </div>
            <div class="work_header">
            <s:if test="%{type==1}">
            	<div class="header_item ping">设计内容（20）</div>
                <div class="header_item ping">设计结构（25）</div>
                <div class="header_item ping">设计艺术性（20）</div>
                <div class="header_item ping">创意与应用（20）</div>
                <div class="header_item ping">技术应用（15）</div>
            </s:if>
            <s:elseif test="%{type==2}">
            	<div class="header_item ping">功能（15）</div>
                <div class="header_item ping">可靠性（10）</div>
                <div class="header_item ping">效率（10）</div>
                <div class="header_item ping">服务质量（35）</div>
                <div class="header_item ping">适应性（30）</div>
            </s:elseif>
            <s:elseif test="%{type==3}">
            	<div class="header_item ping">教学内容（30）</div>
                <div class="header_item ping">教学设计（25）</div>
                <div class="header_item ping">技术性（25）</div>
                <div class="header_item ping">艺术性（20）</div>
            </s:elseif>
            <s:elseif test="%{type==4}">
            	<div class="header_item ping">设计内容（20）</div>
                <div class="header_item ping">虚拟平台设计（30）</div>
                <div class="header_item ping">技术性（25）</div>
                <div class="header_item ping">艺术性（25）</div>
            </s:elseif>
            <s:elseif test="%{type==5}">
            	<div class="header_item ping">作品主题（10）</div>
                <div class="header_item ping">设计内容（15）</div>
                <div class="header_item ping">设计结构（25）</div>
                <div class="header_item ping">设计艺术性（20）</div>
                <div class="header_item ping">创意与应用（20）</div>
                <div class="header_item ping">技术应用（10）</div>
            </s:elseif>
            <s:elseif test="%{type==6}">
            	<div class="header_item ping">设计内容（15）</div>
                <div class="header_item ping">创意与结构（30）</div>
                <div class="header_item ping">技术应用（35）</div>
                <div class="header_item ping">设计艺术性（20）</div>
            </s:elseif>
                <div class="header_item total">总分（100）</div>
                <div class="header_item addable">文计加分</div>
                <div class="header_item passed">推荐决赛</div>
            </div>
            <div class="work_content">
            <s:if test="%{type==1}">
            	<div class="content_item ping edit_select" num="20" name="mark0"><s:property value="ping.pings[0]" /></div>
                <div class="content_item ping edit_select" num="25" name="mark1"><s:property value="ping.pings[1]" /></div>
                <div class="content_item ping edit_select" num="20" name="mark2"><s:property value="ping.pings[2]" /></div>
                <div class="content_item ping edit_select" num="20" name="mark3"><s:property value="ping.pings[3]" /></div>
                <div class="content_item ping edit_select" num="15" name="mark4"><s:property value="ping.pings[4]" /></div>
            </s:if>
            <s:elseif test="%{type==2}">
            	<div class="content_item ping edit_select" num="15" name="mark0"><s:property value="ping.pings[0]" /></div>
                <div class="content_item ping edit_select" num="10" name="mark1"><s:property value="ping.pings[1]" /></div>
                <div class="content_item ping edit_select" num="10" name="mark2"><s:property value="ping.pings[2]" /></div>
                <div class="content_item ping edit_select" num="35" name="mark3"><s:property value="ping.pings[3]" /></div>
                <div class="content_item ping edit_select" num="30" name="mark4"><s:property value="ping.pings[4]" /></div>
            </s:elseif>
            <s:elseif test="%{type==3}">
            	<div class="content_item ping edit_select" num="30" name="mark0"><s:property value="ping.pings[0]" /></div>
                <div class="content_item ping edit_select" num="25" name="mark1"><s:property value="ping.pings[1]" /></div>
                <div class="content_item ping edit_select" num="25" name="mark2"><s:property value="ping.pings[2]" /></div>
                <div class="content_item ping edit_select" num="20" name="mark3"><s:property value="ping.pings[3]" /></div>
            </s:elseif>
            <s:elseif test="%{type==4}">
            	<div class="content_item ping edit_select" num="20" name="mark0"><s:property value="ping.pings[0]" /></div>
                <div class="content_item ping edit_select" num="30" name="mark1"><s:property value="ping.pings[1]" /></div>
                <div class="content_item ping edit_select" num="25" name="mark2"><s:property value="ping.pings[2]" /></div>
                <div class="content_item ping edit_select" num="25" name="mark3"><s:property value="ping.pings[3]" /></div>
            </s:elseif>
            <s:elseif test="%{type==5}">
            	<div class="content_item ping edit_select" num="10" name="mark0"><s:property value="ping.pings[0]" /></div>
                <div class="content_item ping edit_select" num="15" name="mark1"><s:property value="ping.pings[1]" /></div>
                <div class="content_item ping edit_select" num="25" name="mark2"><s:property value="ping.pings[2]" /></div>
                <div class="content_item ping edit_select" num="20" name="mark3"><s:property value="ping.pings[3]" /></div>
                <div class="content_item ping edit_select" num="20" name="mark4"><s:property value="ping.pings[4]" /></div>
                <div class="content_item ping edit_select" num="10" name="mark5"><s:property value="ping.pings[5]" /></div>
            </s:elseif>
            <s:elseif test="%{type==6}">
            	<div class="content_item ping edit_select" num="15" name="mark0"><s:property value="ping.pings[0]" /></div>
                <div class="content_item ping edit_select" num="30" name="mark1"><s:property value="ping.pings[1]" /></div>
                <div class="content_item ping edit_select" num="35" name="mark2"><s:property value="ping.pings[2]" /></div>
                <div class="content_item ping edit_select" num="20" name="mark3"><s:property value="ping.pings[3]" /></div>
            </s:elseif>
                <div class="content_item total fen"><s:property value="ping.fen" /></div>
                <div class="content_item addable edit_check" name="addable"><s:if test="ping.addable">是</s:if><s:else>否</s:else></div>
                <div class="content_item passed edit_check" name="passed"><s:if test="ping.passed">是</s:if><s:else>否</s:else></div>
            </div>
            <div class="work_header">
            	<div class="header_item bh">评语</div>
                <div class="content_item pingyu edit_input" name="pingyu"><s:property value="ping.pingyu" /></div>
            </div>
        </div>
    </s:iterator>
    </div>
</div>
</body>
</html>